package ru.papergames.web.blines.battle;

import ru.papergames.common.beans.BattleMember;
import ru.papergames.common.form.BattleServerCredentialsForm;

import java.util.List;

/**
 * Date: 03.01.12 16:54
 *
 * @author Alexander Troshanin
 */
public interface BattleLifeCycleListener {

    public void onBattleCreateOk(int battleOrderId, BattleServerCredentialsForm serverCredentials);

    public void onBattleCreateFail();

    public void onBattleFinish(int winnerTeamId, List<BattleMember> battleMembers);

    public void onBattleStart();
}
